package com.healthcloud.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.healthcloud.dao.SavingSampleInfoDetailDao;
import com.healthcloud.entity.SavingSampleInfoDetailEntity;
import com.healthcloud.service.SavingSampleInfoDetailService;
import com.healthcloud.utils.PageParam;
import org.springframework.transaction.annotation.Transactional;



@Service("savingSampleInfoDetailService")
@Transactional
public class SavingSampleInfoDetailServiceImpl implements SavingSampleInfoDetailService {
	@Autowired
	private SavingSampleInfoDetailDao savingSampleInfoDetailDao;
	
	@Override
	public SavingSampleInfoDetailEntity queryObject(Long id){
		return savingSampleInfoDetailDao.queryObject(id);
	}
	
	@Override
	public List<SavingSampleInfoDetailEntity> queryList(SavingSampleInfoDetailEntity bean, PageParam pageParam){
		return savingSampleInfoDetailDao.queryList(bean, pageParam);
	}
	
	@Override
	public int queryTotal(SavingSampleInfoDetailEntity bean){
		return savingSampleInfoDetailDao.queryTotal(bean);
	}
	
	@Override
	public void save(SavingSampleInfoDetailEntity savingSampleInfoDetail){
		savingSampleInfoDetailDao.save(savingSampleInfoDetail);
	}
	
	@Override
	public void update(SavingSampleInfoDetailEntity savingSampleInfoDetail){
		savingSampleInfoDetailDao.update(savingSampleInfoDetail);
	}
	
	@Override
	public void delete(Long id){
		savingSampleInfoDetailDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		savingSampleInfoDetailDao.deleteBatch(ids);
	}
	
}
